-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unique execution context with the correct request object #3237
Conversation
🦋 Changeset detectedLatest commit: b229436 The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Apollo Federation Subgraph Compatibility Results
Learn more: |
✅ Benchmark Results
|
💻 Website PreviewThe latest changes are available as preview in: https://b803f2c4.graphql-yoga.pages.dev |
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
graphql-yoga-cloud-run-guide |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/apollo-link |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/urql-exchange |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
graphql-yoga |
5.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/nestjs |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/nestjs-federation |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-apollo-inline-trace |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-apq |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-csrf-prevention |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-defer-stream |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-disable-introspection |
2.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-graphql-sse |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-jwt |
2.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-persisted-operations |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-prometheus |
4.2.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-response-cache |
3.5.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/plugin-sofa |
3.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
@graphql-yoga/render-graphiql |
5.3.1-rc-20240415115405-cf990492 |
npm ↗︎ unpkg ↗︎ |
This seems to break |
Could you create a new issue with details and a reproduction? @kireerik |
We are getting the following error:
The relevant part looks like this: const { handleNodeRequest } = createYoga({
context: ({ request }) => ({
...request.routeOptions.config
})
})
// Fastify handler:
async (request, reply) => {
const {
headers, status, body
} =
await handleNodeRequest(request, { request })
headers.forEach((value, key) =>
reply.header(key, value)
)
return reply.status(status).send(body)
} |
As I wrote in the previous comment, could you create a new issue with a reproduction by following our issue template there? |
Closes #3238